﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ChOfResp
{
    public abstract class Approver
    {
        private Approver successor;
        protected string name;

        public Approver Successor { get => successor; set => successor = value; }

        public void setSuccessor(Approver approver)
        {
            this.successor = approver;
        }

        public Approver(string name)
        {
            this.name = name;
        }


        public abstract void ProcessRequest(RurchaseRequest request);
      
    }
}
